//
//  AdditionOperator.m
//  Hellow
//
//  Created by XU Bennix on 10-6-19.
//  Copyright 2010 Fudan. All rights reserved.
//

#import "AdditionOperator.h"


@implementation AdditionOperator

-(id)initWithLeftValue:(double)lv andRightValue:(double)rv {
    [super init];
    leftValue = lv;
    rightValue = rv;
    return self;
}

-(double)evaluate {
    return leftValue + rightValue;
}

@end
